﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="RelationshipTransferHistory.ascx.cs" Inherits="ZHDJ.PersonalCenter.Module.RelationshipTransfer.RelationshipTransferHistory" %>
<script type="text/javascript">
    $(function () {
        if ($("#history tr").size() < 3) {
            $("#history").append("<tr class=\"more-list-tr1\" ><td colspan=\"5\" align='center'>此栏目暂无信息</td></tr>");
        }
    })
</script>
<div >
    <table class="formTable"  border="0" cellpadding="0" cellspacing="0" width="100%" id="history" >
        <asp:Repeater runat="server" ID="RepeaterHistory">
            <HeaderTemplate>
                <tr class="more-list-tr1">
                    <td colspan="5" align="center" style="height: 50px; padding-bottom: 5px" valign="bottom">
                        <span style="font-size: 16px; font-weight: bold;">组织关系转移历史记录</span>
                    </td>
                </tr>
                <tr class="more-list-tr1" style="height: 30px;">
                    <td style="padding-left: 5px; width: 250px; font-weight:700">原组织
                    </td>
                    <td style="padding-left: 5px; width: 250px; font-weight:700">目标组织
                    </td>
                    <td style="padding-left: 5px; width: 120px; font-weight:700">申请时间
                    </td>
                    <td style="padding-left: 5px; width: 70px; font-weight:700">状态
                    </td>
                    <td style="padding-left: 5px; width: auto; font-weight:700">查看
                    </td>
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="more-list-tr1" style="height: 30px;">
                    <td style="padding-left: 5px;">
                        <%#Eval("FromBranchName") %>
                    </td>
                    <td style="padding-left: 5px;">
                        <%#Eval("ToBranchName") %>
                    </td>
                    <td style="padding-left: 5px; ">
                        <%#Eval("CreateTime") %>
                    </td>
                    <td style="padding-left: 5px; ">
                        <%#Eval("Status") %>
                    </td>
                    <%--<td style="padding-left: 5px; width: 120px;">
                        <a href="../../../Portal/PortalPage.aspx?../Widgets/Pages/MyHomePage/RelationshipTransferView.aspx?RelationID=<%#Eval("ID") %>"
                            target="_blank">查看</a>
                    </td>--%>
                    <td style="padding-left: 5px; ">
                        <a href="RelationshipTransferView.aspx?RelationID=<%#Eval("ID") %>"
                            target="_blank">查看</a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</div>
